package com.chaoyinsu.service;

import com.chaoyinsu.entity.User;
import com.chaoyinsu.mapper.UserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author guochao
 * @version 1.0
 * @date 2023/10/17
 */
@Service
public class UserService {

    @Resource
    private UserMapper userMapper;


    public List<User> list() {
        return userMapper.list();
    }
}
